package edu.sctu.nieyu.day20150628exam.mainfunction;

import edu.sctu.nieyu.day20150628exam.deal.FileUtil;
import edu.sctu.nieyu.day20150628exam.deal.ThreadUtil;

import java.io.File;

/**
 * Created by user01 on 2015/6/28.
 */
public class ThreadClient {

    public static final String FILE_PATH = "D://Json";
    public static final String FILE_NEW_PATH = FILE_PATH + "//Json.txt";
    public static final String FILE_NEW_PATH2 = FILE_PATH + "//Appbean.txt";

    public static void main(String[] args) {

        FileUtil create = new FileUtil();
        create.createFile(new File(FILE_PATH));
        create.createNewFile(FILE_NEW_PATH);
        create.createNewFile(FILE_NEW_PATH2);

        Thread thread = new Thread(new ThreadUtil());
        thread.start();
    }
}
